package Chapter05;

public class Zuoye5 {
    public static void main(String[] args) {
        int h=4;
        for (int i=1;i<=h;i++){
            for (int j=0;j<h-i;j++){
                System.out.print(" ");
            }
            for (int k=1;k<=2*i-1;k++){
                System.out.print("*");
            }
            System.out.println("");
        }

    }
}
